/**
 * Copyright (C), 2018, 福富软件有限公司
 * FileName: UserTrusteeshipMapper
 * Author:   zhengmf
 * Date:     2018/8/10 9:13
 */
package com.example.demo.mapper;

import com.example.demo.web.rest.evt.UserTrusteeshipEvt;
import com.example.demo.web.rest.evt.UserTrusteeshipEvt;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *Description: 用户托管管理
 * @Author zhengmf
 * @Date 2018/8/10  9:13
 */
@Mapper
public interface UserTrusteeshipMapper {

    /**
     * 新增托管记录
     */
    Integer addUserTrusteeship(UserTrusteeshipEvt trusteeshipEvt);
    /**
     * 更新托管记录
     */
    Integer updateUserTrusteeship(UserTrusteeshipEvt trusteeshipEvt);
    /**
     * 删除托管记录
     */
    Integer delUserTrusteeship(@Param(value = "id") Long id);
    /**
     * 删除用户托管信息，逻辑删除
     */
    Integer updateStatusById(@Param(value = "id") Long id);

}
